{include file="header.html"}
<script type="text/javascript">
$(function(){
    $('#add_time_from').datepicker({dateFormat: 'yy-mm-dd'});
    $('#add_time_to').datepicker({dateFormat: 'yy-mm-dd'});
});
</script>
<div id="rightTop">
    <p>实名认证管理</p>
    <ul class="subnav">
        <li><span>{$lang.manage}</span></li>
    </ul>
</div>
<div class="mrightTop">
    <div class="fontl">
        <form method="get">
             <div class="left">
                <input type="hidden" name="app" value="certification" />
                <input type="hidden" name="act" value="index" />
                <select class="querySelect" name="certification_type">
                    {html_options options=$certification_type selected=$query.certification_type}
                </select>
                <select class="querySelect" name="field">{html_options options=$search_options selected=$smarty.get.field}
                </select>:<input class="queryInput" type="text" name="search_name" value="{$query.search_name|escape}" />
                <select class="querySelect" name="status">
                    <option value="">状态</option>
                    {html_options options=$status_list selected=$query.status}
                </select>
                 提交时间从:<input class="queryInput2" type="text" value="{$query.add_time_from}" id="add_time_from" name="add_time_from" class="pick_date" />
                 至:<input class="queryInput2" type="text" value="{$query.add_time_to}" id="add_time_to" name="add_time_to" class="pick_date" />              
                <input type="submit" class="formbtn" value="{$lang.query}" />
            </div>
            <!--{if $filtered}-->
            <a class="left formbtn1" href="index.php?app=certification">{$lang.cancel_query}</a>
            <!--{/if}-->
        </form>
    </div>
    <div class="fontr">
        {if $data_list}{include file=page.top.html}{/if}
    </div>
</div>
<div class="tdare">
    <table width="100%" cellspacing="0" class="dataTable">
        <!--{if $data_list}-->
        <tr class="tatr1">
            <td width="15%" class="firstCell"><span ectype="order_by" fieldname="user_name">用户名</span></td>
            <td width="10%"><span ectype="order_by" fieldname="real_name">真实姓名</span></td>
            <td width="15%"><span ectype="order_by" fieldname="identity_card">身份证号</span></td>
            <td width="10%"><span ectype="order_by" fieldname="company_name">企业名称</span></td>
            <td width="15%"><span ectype="order_by" fieldname="license_card">营业执照注册号</span></td>
            <td width="15%"><span ectype="order_by" fieldname="add_time">提交时间</span></td>           
            <td width="10%"><span ectype="order_by" fieldname="status">状态</span></td>
            <td width="10%">操作</td>
        </tr>
        <!--{/if}-->
        <!--{foreach from=$data_list item=order}-->
        <tr class="tatr2">
            <td class="firstCell">{$order.user_name|escape}</td>
            <td>{$order.real_name}</td>
            <td>{$order.identity_card}</td>
            <td>{$order.company_name}</td>
            <td>{$order.license_card}</td>
            <td>{$order.add_time|date:complete}</td>
            <td>{$status_list.$order.status}</td>
            <td><a href="index.php?app=certification&amp;act=edit&amp;id={$order.certification_id}">审核</a></td>
        </tr>
        <!--{foreachelse}-->
        <tr class="no_data">
            <td colspan="7">{$lang.no_data}</td>
        </tr>
        <!--{/foreach}-->
    </table>
    <div id="dataFuncs">
        <div class="pageLinks">
            {if $data_list}{include file=page.bottom.html}{/if}
        </div>
    </div>
    <div class="clear"></div>
</div>
{include file="footer.html"}
